Skip to content

Fix the prompt line stopping short of the right edge - #16180

Open
tm99hjkl wants to merge 1 commit into
helix-editor:masterfrom
tm99hjkl:fix-prompt-anchor-scroll-left
Open

Fix the prompt line stopping short of the right edge#16180
tm99hjkl wants to merge 1 commit into
helix-editor:masterfrom
tm99hjkl:fix-prompt-anchor-scroll-left

Conversation

@tm99hjkl

@tm99hjkl tm99hjkl commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

With a long enough prompt line, deleting backwards leaves only on screen. The text is still there, but none of it is visible. It reappears once the line is short enough to fit.

Widening the terminal does the same: the visible text keeps its old width and leaves a gap at the right edge.

To reproduce

  1. Press $ (shell_keep_pipe)
  2. Type a command more than twice as long as the prompt area is wide
  3. Hold <backspace>, or press <C-w> a few times

Before

before

After

after

@tm99hjkl
tm99hjkl force-pushed the fix-prompt-anchor-scroll-left branch from 4018ebb to d36e151 Compare August 12, 2026 09:32
@tm99hjkl tm99hjkl changed the title Fix the prompt showing only … after deleting from a scrolled line Fix the prompt line stopping short of the right edge Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant